/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.vsu.csf.qasystem.morph;

import java.util.LinkedList;
import java.util.List;
import ru.vsu.csf.qasystem.morph.enumtypes.Case;

/**
 *  Предлог.
 * @author Руслан
 */
public class Preposition extends Word {

    /**
     * Падеж.
     */
    private Case wordCase;
    
    public Preposition(String text, Case wordCase) {
        this.text = text;
        this.mainForm = text;
        this.wordCase = wordCase;
    }

    public Case getWordCase() {
        return wordCase;
    }

    public void setWordCase(Case wordCase) {
        this.wordCase = wordCase;
    }

    public static List<Preposition> getAllPrepositions() {
        List<Preposition> result = new LinkedList<Preposition>();
        result.add(new Preposition("в", Case.Genitive));
        result.add(new Preposition("на", Case.Prepositional));
        result.add(new Preposition("к", Case.Dative));
        result.add(new Preposition("о", Case.Prepositional));
        result.add(new Preposition("с", Case.Instrumental));
        result.add(new Preposition("перед", Case.Instrumental));
        result.add(new Preposition("через", Case.Genitive));
        result.add(new Preposition("до", Case.Genitive));
        result.add(new Preposition("за", Case.Instrumental));
        result.add(new Preposition("без", Case.Genitive));
        return result;
    }
}
